/* 公共头部 */

/* 本地购物车 */
body {
    background:#f5f5f5
}
.container {
    width: 1240px;
    margin: 0 auto;
    position: relative;
}
/* thead栏信息 */
thead td input {
    vertical-align: middle;
}

thead td span {
    vertical-align: middle;
}

.xtx-button1 {
    text-align: right;
}

.xtx-button1 button {
    margin-bottom: 20px;
    margin-right: 15px;
    width: 60px;
    height: 32px;
    font-size: 14px;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

.xtx-button1 .cancel {
    border-color: #ccc;
    background: #ccc;
    color: #fff;
}

.xtx-button1 .confirm {
    border-color: #27ba9b;
    background: #27ba9b;
    color: #fff;
}

.xtx_table {
    background-color: #fff;
    color: #666
}

.xtx_table table {
    line-height: 24px;
}

table>td {
    font-size: 16px;
    line-height: 24px;
    padding: 10px;
}

table td {
    padding: 10px;
    border-bottom: 1px solid #f5f5f5;
}

thead td {
    border-bottom: 1px solid #f5f5f5;
    text-align: center;
    line-height: 50px;
}

thead .tdStr {
    color: #27ba9b;
}

thead td:nth-child(1),
tbody td:nth-child(1) {
    text-align: left;
    padding-left: 30px;
    color: #999;
}

h3 {
    color: #666;
    font-size: 16px;
    font-weight: 400;
    line-height: 50px;
}

/* tbody栏信息 */
.goods {
    display: flex;
    line-height: 24px;
    align-items: center;
}

.goods img {
    width: 100px;
    height: 100px;
}

.goods div {
    padding-left: 10px;
}

.goods div .attr {
    font-size: 14px;
    color: #999;
}

.attrs {
    line-height: 24px;
    display: flex;
}

.attrs span {
    max-width: 230px;
    font-size: 14px;
    color: #999;
}

.attrs i {
    margin-left: 5px;
    font-size: 14px;
    margin-top: 5px;
}

.layerSku {
    position: absolute;
    left: -1px;
    top: 40px;
    z-index: 10;
    width: 400px;
    border: 1px solid #27ba9b;
    box-shadow: 2px 2px 4px #e6faf6;
    background: #fff;
    border-radius: 4px;
    font-size: 14px;
    padding: 20px;
}

.layerSku::before {
    content: "";
    width: 12px;
    height: 12px;
    border-left: 1px solid #27ba9b;
    border-top: 1px solid #27ba9b;
    position: absolute;
    left: 12px;
    top: -8px;
    background: #fff;
    transform: scaleX(.8) rotate(45deg);
}

.layerSku {
    display: none;
}

.layerSku .goodsSku {
    padding-left: 10px;
    padding-top: 20px;
}

.xtxButton {
    border-color: #27ba9b;
    background: #27ba9b;
    color: #fff;
    width: 60px;
    height: 32px;
    font-size: 14px;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
}

.goodsSku dl {
    display: flex;
    padding-bottom: 10px;
    align-items: center;
}

.goodsSku dl dt {
    width: 50px;
    color: #999;
}

.goodsSku dl dd {
    flex: 1;
    color: #666;
    line-height: 40px;
}

.goodsSku dl img {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
    border: 1px solid #e4e4e4;
    margin-right: 10px;
    cursor: pointer;
}

.goodsSku dl dd>span {
    display: inline-block;
    height: 30px;
    line-height: 28px;
    padding: 0 20px;
    border: 1px solid #e4e4e4;
    margin-right: 10px;
    cursor: pointer;
}

.goodsSku dl dd>span.selected {
    border-color: #27ba9b;
}

.goodsSku dl dd>img.selected {
    border-color: #27ba9b;
}

.tc {
    text-align: center;
}

.tt {
    color: #cf4444;
}

.tt p {
    display: inline-block;
}

.tw .pw a {
    color: #27ba9b;
}

.xtxNumbox {
    margin: 0 auto;
    width: 120px;
}

.numbox {
    display: flex;
    border: 1px solid #e4e4e4;
}

.numbox a {
    width: 29px;
    line-height: 28px;
    text-align: center;
    background: #f8f8f8;
    font-size: 16px;
    color: #666;
}

.numbox input {
    width: 60px;
    padding: 0 5px;
    text-align: center;
    color: #666;
    outline: none;
}

.numbox a:nth-of-type(1) {
    border-right: 1px solid #e4e4e4;
}

.numbox a:nth-of-type(2) {
    border-left: 1px solid #e4e4e4;
}

.tbOne {
    text-align: center;
    padding: 150px 0;
}

.tbOne img {
    width: 200px;
    height: 134px;
    max-width: none;
    max-height: none;
}

.tbTwo {
    margin: 20px
}

.btn {
    display: inline-block;
    line-height: 50px;
    width: 180px;
    height: 50px;
    font-size: 16px;
    border-color: #27ba9b;
    background: #27ba9b;
    color: #fff;
    appearance: none;
    outline: none;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

.xtx_bread .action {
    display: flex;
    margin-top: 20px;
    height: 80px;
    align-items: center;
    font-size: 16px;
    justify-content: space-between;
    padding: 0 30px;
}


.batch div {
    color: #999;
    display: inline-block;
    margin-right: 2px;
}

.batch a {
    margin-left: 20px;
}

.total span {
    font-size: 18px;
    margin-right: 20px;
    font-weight: 700;
    color: #cf4444;
}
/* 删除按钮点击弹窗 */
.conceal {
    display: none;
}

.overall {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 8888;
    background: transparent;
}

.overall.fade {
    transition: all .4s;
    background: rgba(0, 0, 0, .5);
}

.wrapder {
    width: 400px;
    background: #fff;
    border-radius: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    opacity: 0;
}

.wrapder.fade {
    transition: all .4s;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.cephalic {
    position: relative;
}

.cephalic,
.footerXtx {
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
}

.cephalic h3 {
    font-weight: 400;
    font-size: 18px;
}

.cephalic a {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    color: #999;
}

.body {
    padding: 20px 40px;
    font-size: 16px;
}

.body i {
    color: #cf4444;
    margin-right: 3px;
    font-size: 16px;
}
/* 猜你喜欢 */
.goods_relevant {
    height: 440px;
    background-color: #fff;
}

.goods_relevant .header {
    height: 80px;
    line-height: 80px;
    padding: 0 20px;
}

.goods_relevant .icon::before {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    left: 0;
    top: 2px;
    background: #bcf1e6;
}

.goods_relevant .iconfont {
    width: 16px;
    height: 16px;
    display: inline-block;
    border-top: 4px solid #27ba9b;
    border-right: 4px solid #27ba9b;
    box-sizing: border-box;
    position: relative;
    transform: rotate(45deg);
}

.goods_relevant .title {
    font-size: 20px;
    padding-left: 5px;
    color: #333;
}

.goods-relevant .bottom {
    width: 100%;
    height: 380px;
}

.bottom li {
    width: 100%;
    height: 380px;
    display: flex;
    float: left;
    justify-content: space-around;
    padding: 0 40px;
}

.bottom li a {
    width: 240px;
    text-align: center;
}

.bottom li a img {
    padding: 20px;
    width: 230px;
    height: 230px;
    text-align: center;
}

.bottom .name {
    font-size: 16px;
    color: #666;
    padding: 0 40px;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bottom .price {
    color: #cf4444;
    font-size: 16px;
    margin-top: 15px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.goods_relevant .bottom .swiper .swiper-button-next,
.goods_relevant .bottom .swiper .swiper-button-prev {
    color: #ccc;
    top: 35%;
}

.swiper-button-next {
    right: 35px !important;
}

.swiper-button-prev {
    left: 35px !important;
}

:root {
    --swiper-navigation-size: 27px !important;
    --swiper-theme-color: #27ba9b !important;
}

.swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 12px)) !important;
    height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 12px)) !important;
    margin-right: 10px !important;
}

.swiper-pagination {
    margin-bottom: 20px !important;
}